import { Injectable } from '@nestjs/common';
import { InjectRepository } from '@nestjs/typeorm';
import { AddChargeOrder } from 'src/entities/AddChargeOrder';
import { Repository } from 'typeorm';
import { BaseModelService } from '../base-model/base-model.service';

@Injectable()
export class AddChargeOrderModelService extends BaseModelService<AddChargeOrder>{
    constructor(
        @InjectRepository(AddChargeOrder) protected repository:Repository<AddChargeOrder>

    ){
        super()
        this.primaryKey = 'orderId'
    }
}
